Maintaining Portable Lisp Programs

نویسنده

  • Christophe Rhodes
چکیده

We examine the use of read-time feature conditionals, with particular emphasis on writing portable Common Lisp code which aspires to both forwardsand backwards-compatibility. We examine cases from real libraries which demonstrate the various pitfalls, and propose a scheme for robust treatment of implementation-specific functionality by performing programmatic tests at the appropriate time. We discuss the additional difficulties in dealing with differences in the operating environment, and suggest that agreements between Lisp distributors would alleviate these difficulties.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Guided Tour of CLIM, Common Lisp Interface Manager

The Common Lisp Interface Manager (clim) provides a layered set of facilities for building user interfaces. These facilities include a portable layers for basic windowing, input, output services, and mechanisms for constructing window types and user interface components; stream-oriented input and output facilities extended with presentations and context sensitive input; and a gadget-oriented to...

متن کامل

A Data Base Extension of Prolog and its Implementation

A method is presented to extend the programming language Prolog with a capability to access a relational data base system. Since the data type ‘relation' is basic in Prolog, and since Prolog is based on interpretation of a subset of predicate calculus, such an interface becomes simpler in Prolog than in most other languages, and the same language, extended Prolog, may be used both for programmi...

متن کامل

Neun Portable Standard LISP for Cray X - MP Computers Preprint SC 86 - 2 ( Dezember 1986 )

Portable Standard LISP (PSL) is a portable implementation of the programming language LISP constructed at the University of Utah. The version 3.4 of PSL was implemented for Cray X-MP computers by KonradZuse-Zentrum Berlin; this implementation is based to an important part on the earlier implementation of PSL 3.2 at the University of Utah, Los Alamos National Laboratories and Cray Research Inc. ...

متن کامل

Tm: a Code Generator for Recursive Data Structures

The transfer of data structures between programs is often carried out using binary or ad-hoc textual formats. However, this can result in ambiguous and non-portable file formats. The program ‘Tm’ (for ‘template manager’) prevents these problems by using a textual representation of the data structures and generating the code to read and write this representation from an abstract definition of th...

متن کامل

Three Uncommon Lisps

This paper surveys three Lisp systems which do not enjoy widespread populario. Nevertheless, each has features which make them particularly suitable for certain applications and all exhibit care in certain aspects of their design which are worthy of greater recognition. The three Lisps are Portable Standard Lisp (nee Standard Lisp), LisplVM (nee LispN70) and Cambridge Lisp. In fact, the last in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004